package org.brownflat.watergate.resources.mysql;

import org.brownflat.watergate.resources.MySqlUpgrade;
import org.springframework.stereotype.Component;

/**
 * <p>&copy Rupert Jones 2011,2012</p>
 *
 * @author rup
 */
@Component
public class Upgrade0015ReviewTriggerMessageMatch implements MySqlUpgrade {

    private static final int VERSION = 15;

    @Override
    public int getSequence() {
        return VERSION;
    }

    @Override
    public String getSql() {
        return "ALTER TABLE wgate_auto_review_trigger ADD COLUMN (msg_match varchar(255));";
    }

    @Override
    public String getName() {
        return "Create review trigger message match";
    }
}
